from scrapy import cmdline
cmdline.execute("scrapy crawl MySpider -o C语言book.csv".split())